import axios from '@/libs/request/axios'
//单个文件生成md5
export const uploadFile = (params) => {
    return axios.request({
        url: '/apply/contract/fileToMD5',
        data: params,
        method: 'post'
    })
}
export const uploadRealFile = (params) => {
    return axios.request({
        url: '/apply/contract/uploadOneFile',
        data: params,
        method: 'post'
    })
}
export const getBaseByMD5 = (params) => {
    return axios.request({
        url: '/apply/contract/getBaseByMD5',
        data: params,
        method: 'post'
    })
}
export const getOCRInfo = (params) => {
    return axios.request({
        url: '/apply/contract/getOCRInfo',
        data: params,
        method: 'post'
    })
}
